package com.edt.ichannel.api.service.impl;

import com.edt.ichannel.api.dao.CommissionMonthRuleLinkDao;
import com.edt.ichannel.api.entiy.local.CommissionMonthRuleLink;
import com.edt.ichannel.api.service.CommissionMonthRuleLinkService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


/**
 * CommissionMonthRuleLink服务接口实现类
 * @author 李爽
 * @date 2019-01-10
 */
@Service
public class CommissionMonthRuleLinkServiceImpl implements CommissionMonthRuleLinkService {

    @Resource
    private CommissionMonthRuleLinkDao commissionmonthrulelinkDao;

    @Override
    public CommissionMonthRuleLink getNextCommissionRuleMonthLink(String ruleId, int count) {
        return commissionmonthrulelinkDao.getNextCommissionRuleMonthLink(ruleId,count);
    }
}